import {
  handleRequest
} from './index'


//获取-获取总收入总成本调整列表
export function getAdjustIncomeCost(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/adjustment/query',
    method: 'post',
    data: query
  })
}

//获取-获取总收入总成本调整列表
export function getAdjustIncomeCostCount(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/adjustment/query/count',
    method: 'post',
    data: query
  })
}


//新增-总收入总成本调整
export function addAdjustIncomeCost(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/adjustment',
    method: 'post',
    data: query
  })
}

//修改-总收入总成本调整
export function editAdjustIncomeCost(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/adjustment/update',
    method: 'post',
    data: query
  })
}
//删除-总收入总成本调整
export function delAdjustIncomeCost(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/adjustment/del',
    method: 'post',
    params: query
  })
}
//查看-总收入总成本调整
export function checkAdjustIncomeCost(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/adjustment/query',
    method: 'get',
    params: query
  })
}

//撤销-总收入总成本调整
export function revokeAdjustIncomeCost(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/quotation/backout',
    method: 'get',
    params: query
  })
}
//作废-总收入总成本调整
export function invalidAdjustIncomeCost(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/quotation/invalid',
    method: 'get',
    params: query
  })
}

//打印-总收入总成本调整
export function checkAdjustIncomeCostPrint(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/adjustment/query/print',
    method: 'get',
    params: query
  })
}



//获取-获取总收入总成本录入列表
export function getRevenueCostInput(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/entry/query',
    method: 'post',
    data: query
  })
}

//获取-获取总收入总成本录入列表统计
export function getRevenueCostInputCount(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/entry/query/count',
    method: 'post',
    data: query
  })
}


//新增-总收入总成本录入
export function addRevenueCostInput(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/entry',
    method: 'post',
    data: query
  })
}

//修改-总收入总成本录入
export function editRevenueCostInput(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/entry/update',
    method: 'post',
    data: query
  })
}
//删除-总收入总成本录入
export function delRevenueCostInput(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/entry/del',
    method: 'post',
    params: query
  })
}
//查看-总收入总成本录入
export function checkRevenueCostInput(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/entry/query',
    method: 'get',
    params: query
  })
}
//撤销-总收入总成本录入
export function revokeRevenueCostInput(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/entry/quotation/backout',
    method: 'get',
    params: query
  })
}
//作废-总收入总成本录入
export function invalidRevenueCostInput(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/entry/invalid',
    method: 'get',
    params: query
  })
}

//打印-总收入总成本录入
export function checkRevenueCostInputPrint(query) {
  return handleRequest({
    url: '/totalRevenue-totalCost/entry/query/print',
    method: 'get',
    params: query
  })
}